package com.pig.mapper.dao;


import com.pig.pojo.FoodMat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FoodMatDao  {
    @Select("select * from p_foodmaterial where menuId=#{detailsId}")
    List<FoodMat> findBydetailsId(Integer id);
    int insertFoodMat(FoodMat foodMat);

    int deleteMenuById(Integer id);
}
